<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>  

<script type="text/javascript"
	src='<c:url value="/resources/js/jquery-ui-1.8.16.custom.min.js"/>'></script>
<link rel="stylesheet"
	href='<c:url value="/resources/css/redmond/jquery-ui-1.8.16.custom.css"/>' />
<script type="text/javascript"
	src='<c:url value="/resources/js/configuration/departmentPage.js"/>'></script>
	
<fieldset>
<legend>部门管理</legend>
<input id="addDepartmentButton" type="button" value="添加"">
<div id="departmentTable"></div>

<div id="addDepartmentForm" title="添加部门">
<form:form modelAttribute="department" method="post" id="departmentForm">
		<form:hidden path="id" value="-1" id="departmentID" />
	<table>
		<tr>
			<td>部门名称:</td>
			<td><form:input path="departmentName" id="departmentName" /></td>
		</tr>
		<tr>
			<td>备注:</td>
			<td><form:textarea path="description" id="description" /></td>
		</tr>
		<tr>
			<td>&nbsp;</td>
			<td align="right"><input id="saveUpdateButton" type="button" value="保存"></td>
		</tr>
	</table>
</form:form>
</div>
</fieldset>